#include <iostream>
#include <string>
// 包含SpireMS SDK头文件
#include <sms_core.h>
#include "sv2_gimbal_tracking.h"

using namespace std;


const char *about = "Gimbal Tracking Demo";
const char *keys =
    "{@job_name      |<none> | The node's job name }"
    "{@param_file    |<none> | GimbalTrackingCppNode's parameters }";

int main(int argc, char *argv[])
{
    std::string job_name = "live";
    std::string config = "";

    if (argc < 2)
    {
        std::cout << "Please input SpireCV Config." << std::endl;
    }
    config = argv[1];
    if (argc > 2)
    {
        job_name = argv[2];
    }

    sv2::GimbalTrackingCppNode node(job_name, config);
    node.start();
    node.join();
    return 0;
}
